﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Shared/OneColumn.Master" AutoEventWireup="true"
    CodeBehind="Requests.aspx.cs" Inherits="SharingCenter.Web.User.Message.Requests"
    EnableEventValidation="false" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitlePlaceHolder" runat="server">
    各项请求
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .ri
        {
            width: 600px;
        }
        
        .reqitembox
        {
        	width:500px;
        	float:left;
        }
        
        .avtb, .avatarthumbcontainer{display:block;width:78px;}
        
    </style>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContentPlaceHolder" runat="server">
    <myuc:GenericTabs ID="LinkListTabs1" runat="server" SelectedItem="2" Section="Message" />
    <h2 class="bb">
        <myuc:IconSet ID="IconSet1" Text="各项请求" CssClass="iss ss-mail" runat="server" />
    </h2>
    <div class="fc">
        <asp:ListView ID="ListView1" runat="server" DataSourceID="LinqDataSource1" DataKeyNames="RequestId">
            <LayoutTemplate>
                <asp:Panel runat="server" ID="itemPlaceholder" />
            </LayoutTemplate>
            <ItemTemplate>
                <div>
                    <div class="fc">
                        <div class="left ri">
                            <div class="left ctn-p-r">
                                <%--<myuc:ThumbAvatar runat="server" UserId='<%#Eval("RequestorUserId") %>' />--%>
                                <span class="avtb"><span class="uid" title='<%#Eval("RequestorUserId") %>'></span></span>
                            </div>
                            <div>
                                <asp:Panel CssClass="ctn-p-l request" runat="server" ID="pnRequest">
                                </asp:Panel>
                            </div>
                        </div>
                        <div class="right">
                            <asp:Label ID="Label1" CssClass="datetext fd" runat="server" Text='<%#Eval("StatusChangeDate") %>'></asp:Label>
                        </div>
                    </div>
                </div>
            </ItemTemplate>
            <ItemSeparatorTemplate>
                <div class="ctn1">
                    <div class="hr1">
                    </div>
                </div>
            </ItemSeparatorTemplate>
            <EmptyDataTemplate>
                <span class="litetext">目前没有任何请求。</span>
            </EmptyDataTemplate>
        </asp:ListView>
        <asp:LinqDataSource ID="LinqDataSource1" runat="server" ContextTypeName="SharingCenter.Web.Classes.scDataContext">
        </asp:LinqDataSource>
    </div>
</asp:Content>
